<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@page import="com.laundry.tables.Booking"%>
<%@page import="java.util.Date"%><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<% 
String date= request.getParameter("datepicker");
String[] str =  date.split("/");
int imonth=Integer.parseInt(str[0])-1;
int idate = Integer.parseInt(str[1]);
int iyear=Integer.parseInt(str[2])-1900;
Booking b= Booking.instantiate();


  //out.print("Booking Id : "+ b.bookASlot(new Date(iyear,imonth,idate),Integer.parseInt(request.getParameter("selAvailableSlots")),117257));
%>
</body>
</html>